package com.zbb.online_exam.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author zbbstart
 * @date 2021/2/8 - 20:07
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "页面数据对象", description = "封装了不同功能下的HTML和js的文件名字")
public class Menu implements Serializable {
    private static final long serialVersionUID = -37953994169468560L;
    @TableId(value = "id",type = IdType.AUTO)
    @ApiModelProperty(name = "id", value = "功能编号", example = "1")
    private Integer id;
    @TableField("menuName")
    @ApiModelProperty(name = "menuName", value = "功能名称", example = "教师管理")
    private String menuName;
    @TableField("menuLink")
    @ApiModelProperty(name = "menuLink", value = "功能的请求页面", example = "update-password.html")
    private String menuLink;

}
